package com.example.project1.activity;

import com.example.project1.app.ProjectApplication;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class BaseActivity extends FragmentActivity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		ProjectApplication.activitys.add(this);
	}
	@Override
	protected void onDestroy() {
		ProjectApplication.removeActivity(this);
		super.onDestroy();
	}
}
